package com.google.p.code.springscim.client.schema.model;

import java.util.Date;

public class MetaAttribute {
    /*
     * The DateTime the Resource was added to the Service Provider. The
     * attribute MUST be a DateTime. READ-ONLY.
     */
    // TODO add fastjson format
    private Date created;
    
    /*
     * The most recent DateTime the details of this Resource were updated at the
     * Service Provider. If this Resource has never been modified since its
     * initial creation, the value MUST be the same as the value of created. The
     * attribute MUST be a DateTime. READ-ONLY.
     */
    // TODO add fastjson format
    private Date lastModified;
    
    /*
     * The URI of the Resource being returned. This value MUST be the same as
     * the Location HTTP response header. READ-ONLY.
     */
    private String location;
    
    /*
     * The version of the Resource being returned. This value must be the same
     * as the ETag HTTP response header. READ-ONLY.
     */
    private String version;
    
    /*
     * The names of the attributes to remove from the Resource during a PATCH
     * operation.
     */
    private String[] attributes;
    
    public Date getCreated() {
        return created;
    }
    
    public void setCreated(Date created) {
        this.created = created;
    }
    
    public Date getLastModified() {
        return lastModified;
    }
    
    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }
    
    public String getLocation() {
        return location;
    }
    
    public void setLocation(String location) {
        this.location = location;
    }
    
    public String getVersion() {
        return version;
    }
    
    public void setVersion(String version) {
        this.version = version;
    }
    
    public String[] getAttributes() {
        return attributes;
    }
    
    public void setAttributes(String[] attributes) {
        this.attributes = attributes;
    }
    
}
